<template>
  <div class="zhengti">
    <div class="top" v-if="$myRoute.meta.is_footer"></div>
    <div class="center">
      <router-view></router-view>
    </div>
    <div v-if="$myRoute.meta.is_footer" class="bottom">
      
    </div>
  </div>
</template>
<script name="jdApp" setup lang="ts">
import { useRoute } from 'vue-router'
const $myRoute = useRoute()
</script>
<style scoped lang="scss">
.zhengti{
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  >.top{
    height: 50px;
  }
  >.bottom{
    height: 50px;
  }
  .center{
    flex: 1;
    overflow: auto;
  }
}
</style>
